package com.crm.system.service.permissionManagement;

import com.crm.model.entity.sys.permissionManagement.SysMenuPermission;

import java.util.List;

/**
 * @ Author ：pym
 * @ Date   ：2020/12/9 22:02
 */
public interface SysMenuPermissionService {
    /**
     * 根据权限组ID删除菜单-权限组关联
     * @param permissionGroupId
     * @return
     */
    Boolean deleteSysMenuPermissionByPGId(String permissionGroupId);

    /**
     * 根据权限组ID查询菜单-权限组关联表主键
     * @param permissionGroupId
     * @return
     */
    List<String> selectMenuPermissionIdList(String permissionGroupId);

    /**
     * 根据权限组ID查询菜单-权限组关联表
     * @param permissionGroupId
     * @return
     */
    List<SysMenuPermission> selectSysMenuPermissionList(String permissionGroupId);
}
